home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-05-29 | 932 b | 48 lines | [SGPA/SCPG] |
- on startup
- global bailout
-
- checkTextToolIsOn
- if bailout = false then
- set lockscreen to true
- set lockcursor to true
- set stylerecomposition to false
- set mousecursor to busy
- put paragraphindent in inches into theLeft
- set mousecursor to busy
- set paragraphindent in inches to theLeft + .25
- set mousecursor to busy
- end if
- end startup
-
- on checkTextToolIsOn
- global bailout
-
- put "true" into bailout
-
- if toolmode <> "textTool" then
- answer "The TextTool must be turned on."
- else if currentStoryNumber() = "none" then
- answer "The text cursor must be blinking in a story or a range of paragraphs selected."
- else
- put "false" into bailout
- end if
-
- end checkTextToolIsOn
-
- on help
-
- put dialog (preload, 128) into thedialog
- put "---a\0" into item2
- put "---a\1" into item3
- put "---a\2" into item4
-
-
- repeat forever
- get dialog(display, thedialog)
- if (it = 1) then exit repeat
- end repeat
- get dialog(dispose, thedialog)
-
- end help
-